<?php


  $_rows = del($GLOBALS['c'],$_GET['id']);


//如果$_rows>0说明成功
if ($_rows>0) {
    echo '<script> alert ("删除成功");location.href="index.php?c=admin&a=list&admin=1";</script>';die;
       
}else{

    echo '<script> alert ("删除失败");history.go(-1);</script>';
        die;
}



?>

